#ifndef WXPAINTVIEW_H
#define WXPAINTVIEW_H

#include <wx/panel.h>
#include "wxPoints.h"
#include "DCUtils.h"

class wxPaintView : public wxPanel
{
    public:
        wxPaintView(wxWindow *parent, const wxPoints *points);
        virtual ~wxPaintView();
        void OnPaint(wxPaintEvent& evt);
        void OnResize(wxSizeEvent& evt);
        void SetDrawFlag(bool shouldIDraw);

    private:
        bool shouldIDraw;
        const wxPoints *points;
};

#endif // WXPAINTVIEW_H
